package com.business_clean.ui.adapter.dialog;

import android.graphics.Color;
import android.widget.TextView;

import com.business_clean.R;
import com.business_clean.data.initconfig.MenuEntity;
import com.business_clean.data.initconfig.popup.BaseBottomListEntity;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import org.jetbrains.annotations.NotNull;

public class BaseBottomAdapter extends BaseQuickAdapter<BaseBottomListEntity, BaseViewHolder> {

    public BaseBottomAdapter() {
        super(R.layout.item_base_bottom_string);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, BaseBottomListEntity item) {
        holder.setText(R.id.tv_dialog_item_sub, item.getSubTitle())
                .setText(R.id.tv_dialog_item_title, item.getTitle());
    }
}
